package com.goldplusgold.network.lib;

import android.content.Context;

import com.zhy.http.okhttp.callback.StringCallback;


import okhttp3.Call;

/**
 * Created by root on 17-2-28.
 */
public class HttpHandler extends StringCallback {
    private ResponseListener listener;
    private Context mContext;
    private String url;

    public HttpHandler(ResponseListener listener, Context context, String url) {
        this.listener = listener;
        this.mContext = context;
        this.url = url;
    }

    @Override
    public void onError(Call call, Exception e, int i) {
        e.printStackTrace();
    }

    @Override
    public void onResponse(String response, int i) {
    }
}
